#pragma once
#include "ExpAST.h"

class AssignAST :
    public BaseExpAST
{
public:
    enum{ADD,SUB,MUL,DIV,MOD,AND,XOR,OR,SAL,SAR,ASSIGN} op;
    unique_ptr<BaseExpAST>content;
    unique_ptr<BaseExpAST>expr;
    void Dump() const override;
    bool is_lval() const override;
    void Analyze() const;
};